package com.anjubao.parking.municipal.parkinglot.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDate;

/**
 * 统计最近30天运维事件趋势返回DTO对象
 * @author anjubao
 */
@Data
@ApiModel(value = "ParkingTrendFailuresDto",description = "最近30天所有设备故障数统计")
@ToString
public class ParkingTrendFailuresDto {

    /**
     *事件时间
     */
    @ApiModelProperty(value = "事件时间")
    private LocalDate eventTime;

    /**
     * 故障数
     */
    @ApiModelProperty(value = "故障数")
    private Integer failuresNum;
}
